package com.bwhx.eruler.dao;

import java.util.HashMap;
import java.util.List;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.Staff;

public interface StaffDao extends BaseDao<Staff> {

	List<Staff> findByName(String staffname);

	int insertSN();

	void inputStaff(Staff s);

	List<Staff> list(Page p);

	Integer count(Staff s);

	Staff login(String username, String pwd);

	List<Staff> listAll();

	Staff findById(Integer getoOKuGuanId);

	Staff findByLoginName(String loginName);

	void updatestaffAuthorization(HashMap<String, Object> paramMap);

	void del(String sId);

	void changePwd(Staff staff);

	void changePwdByPhone(Staff staff);

	Staff findByPhone(String getsPhone);

	String getName(String uploaderID);

}
